import request from '@/utils/request'

//ip地址库 列表
export function fetchList(params) {
	return request({
		url: '/analysiscenter/ipAddress/library/list',
		method: 'get',
		params
	})
}

//ip地址库 新增
export function ipLibAdd(data) {
	return request({
		url: '/analysiscenter/ipAddress/library/add',
		method: 'post',
		data
	})
}

//ip地址库 编辑
export function ipLibEdit(data) {
	return request({
		url: '/analysiscenter/ipAddress/library/edit',
		method: 'post',
		data
	})
}

//ip地址库 删除
export function ipLibDelete(data) {
	return request({
		url: '/analysiscenter/ipAddress/library/remove',
		method: 'post',
		data
	})
}